package cn.edu.kzjsxy.graduationproject.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author：chén jiā jùn
 * @Create：2024年04月14日23:49
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Page {
	@ApiModelProperty(value = "页码")
	@TableField(exist = false)
	@ApiParam(value="页码",defaultValue = "1")
	private int pageNum = 1; // 页码，默认为1

	@ApiModelProperty(value = "每页显示条数")
	@TableField(exist = false)
	@ApiParam(value="每页显示条数",defaultValue = "10")
	private int pageSize = 10; // 每页显示条数，默认为10
}
